package com.rayo.accesscontrollercopy.model.db.dao;


import com.rayo.accesscontrollercopy.model.db.bean.KeyTimezoneData;

import java.util.List;

/**
 * Created by yanghaojie on 16/7/27.
 */
public interface KeyTimeDao {
    List<KeyTimezoneData> findAll();

    KeyTimezoneData findByNo(int no, int serial);

    void addAll(List<KeyTimezoneData> data);

    void addKeyTime(KeyTimezoneData data);

    void updateAll(List<KeyTimezoneData> data);

    void updateKeyTime(KeyTimezoneData data);

    void deleteAll();

    void deleteKeyTime(KeyTimezoneData data);

    void deleteByKeyTimeByNo(int id);
}
